package com.ymatou.query.trading.api.parameter;

import java.lang.reflect.Field;
import java.math.BigDecimal;

public class ProductPromotion {
	private String Condition;
	private String Content;
	private int ID;
	private String Name;
	private BigDecimal PartialReducedAmount;
	private BigDecimal ReducedAmount;
	private int Type;

	public String getCondition() {
		return Condition;
	}

	public void setCondition(String condition) {
		Condition = condition;
	}

	public String getContent() {
		return Content;
	}

	public void setContent(String content) {
		Content = content;
	}

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public String getName() {
		return Name;
	}

	public void setName(String Name) {
		this.Name = Name;
	}

	public BigDecimal getPartialReducedAmount() {
		return PartialReducedAmount;
	}

	public void setPartialReducedAmount(BigDecimal partialReducedAmount) {
		PartialReducedAmount = partialReducedAmount;
	}

	public BigDecimal getReducedAmount() {
		return ReducedAmount;
	}

	public void setReducedAmount(BigDecimal reducedAmount) {
		ReducedAmount = reducedAmount;
	}

	public int getType() {
		return Type;
	}

	public void setType(int type) {
		Type = type;
	}

	public static void main(String[] args) {
		Class c = ProductPromotion.class;
		for (Field f : c.getDeclaredFields()) {
			String s = f.getName();
			System.out.println("DataUtil.verifyEquals(expect.get"
					+ s + "(), actual.get" + s+ "(),\"验证OrderId[\" + expOid + \"]订单的OrderItemId=[\" + expOrderItemId+ \"]的Promotion." + s
					+ "\");");
		}
	}
}
